<ion-view hide-nav-bar="true" title="留言列表">
    <ion-content scroll="false" overflow-scroll="true">
        <div class="container">
            <div class="content">
                <ion-scroll direction="y" on-scroll="scrollFun()" delegate-handle="pageScroll" style="width: 100%;height: 100%;position: fixed;">
                    <div class="card" ng-repeat="item in vm.exhortaions track by $index" ng-click="gotoDetail('{{item.id}}')">
                        <div class="item">
                            <div class="row">
                                <div class="col col-90">
                                    <p class="msg-p">{{item.msgContent}}</p>
                                    <p class="dark">留言人:&nbsp;{{item.memberName}}</p>
                                    <p class="dark">留言对象:&nbsp;{{item.toMemberName}}</p>
                                    <p class="dark">留言时间:&nbsp;{{item.createDate | date:'yyyy-MM-dd HH:mm'}}</p>
                                </div>
                                <div class="col">
                                    <i class="ion-chevron-right entrust-info-i"></i>
                                </div>
                        </div>
                        </div>
                    </div>
                    <!--<ul class="list">-->
                        <!--<li class="item item-icon-right" ng-repeat="item in vm.exhortaions track by $index">-->
                            <!--<div>-->
                                <!--<p class="msg-p">{{item.msgContent}}</p>-->
                                <!--<p class="dark">留言人:&nbsp;{{item.memberName}}</p>-->
                                <!--<p class="dark">留言对象:&nbsp;{{item.toMemberName}}</p>-->
                                <!--<p class="dark">留言时间:&nbsp;{{item.createDate | date:'yyyy-MM-dd HH:mm'}}</p>-->
                            <!--</div>-->
                        <!--</li>-->
                    <!--</ul>-->
                    <div class="load-more-btn" style="text-align: center;" ng-show="vm.loadMoreBtnStatus == false">
                        <p class="no-data-p">没有更多的留言了</p>
                    </div>
                    <ion-infinite-scroll on-infinite="loadMoreMsg()" distance="0%" ng-show="vm.loadMoreBtnStatus"></ion-infinite-scroll>
                </ion-scroll>
            </div>
        </div>
        <!--悬浮菜单 start-->
        <div id="hamburgerMenuMask"></div>
        <div id="hamburgerMenuBtn">
            <div class="menu-btn-icon">
                <span class="line"></span>
                <span class="line"></span>
                <span class="line"></span>
            </div>
            <div class="menu-list">
            <span class="menu-list-span" ng-click="refresh()">
                <a href="javascript:;"><i class="icon ion-compose ion-refresh"></i></a>
            </span>
            </div>
        </div>
        <!--悬浮菜单 end-->
    </ion-content>
</ion-view>